package com.nh.service;

import com.nh.commom.util.PageResult;
import com.nh.entity.Books;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nh.VO.BooksVO;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author QAQ
 * @since 2025-01-13
 */
public interface IBooksService extends IService<Books> {
    PageResult<Books> findByPage(Integer page, Integer pageSize);
    PageResult<Books> search(Integer page, Integer pageSize, BooksVO vo);
    boolean add(Books book);
    boolean deleteById(Integer bid);
}
